#ifndef ANIMAL_H
#define ANIMAL_H
#include <cstdlib>
enum Gender{Male, Female};



class Animal {
	protected:
		int age;
		int ageLimit;
		Gender sex;
		size_t ID;
	public:
		void setAge(int newAge);
		int getAge(void);
		void addAge(int a);
		void setAgeLimit(int a);
		int getAgeLimit(void);
		Gender getSex(void);
		void setSex(Gender s);
		virtual Animal * giveBirth() = 0;
		virtual void print() = 0;

};









#endif 

